﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace SIN.Client.Model
{
    class addonsListModel
    {
        string mPath;
        string mSelected;

        public string dateIdentifierPath()
        {
            string dateIdentifier = DateTime.Today.ToString("ddMMyyyy");
            string aPath = Environment.GetEnvironmentVariable("Temp") + "\\sin.client." + Program.MD5(dateIdentifier) + ".ao";
            mPath = aPath;
            return aPath;
        }

        public string filePath()
        {
            return mPath;
        }

        public void setSelectedAddon(string aSelected)
        {
            mSelected = aSelected;
        }

        public string selectedAddon()
        {
            return mSelected;
        }

    }
}
